WprAddons\Modules\ThemeBuilder\Woocommerce\ProductAddToCart\Widgets\Wpr_Product_AddToCart S

Total Complexity 25
Dependencies 5
Dependents 0
Total lines 2,120
Lines of code 1,909
Logical lines of code 198
Comment lines 23
Methods 16
Properties 0

Methods 16

Method Rating Maintainability Complexity Lines of code
register_controls()
D
3
1 1,801
before_add_to_cart_quantity()
S
58 4 17
render()
S
49 3 32
after_add_to_cart_quantity()
S
61 3 13
get_categories()
S
79 2 3
after_add_to_cart_button()
S
71 2 6
get_name()
S
82 1 3
get_title()
S
79 1 3
get_icon()
S
82 1 3
get_keywords()
S
79 1 3
has_widget_inner_wrapper()
S
79 1 3
get_script_depends()
S
79 1 3
change_clear_text()
S
78 1 3
custom_wc_add_to_cart_message()
S
75 1 4
action_woocommerce_add_to_cart()
S
83 1 3
woocommerce_header_add_to_cart_fragment()
S
66 1 9